<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>Document</title>
    <!-- 在这里用link标签引入中文渐变色 -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/chinese-gradient">
</head>
<body>
    <ul>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
      </ul>
</body>
<style>
    *{
        margin: 0;
        padding: 0;
    }
    ul{
        list-style: none;
        display: grid;
        grid: auto-flow auto / repeat(auto-fit, minmax(100px, 1fr));
        gap: 5px;
    }
    li{
        height: 100%;
        background:var(--极光绿);
    }
</style>
</html>